package com.ruoyi.project.student.domain;

import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
import lombok.Data;

@Data
public class Student {
    private long id;
    private String studentName;
    private String number;
    private Long classId;
    private String className;
    private String grade;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return studentName;
    }

    public void setName(String name) {
        this.studentName = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", studentName='" + studentName + '\'' +
                ", number='" + number + '\'' +
                ", classId=" + classId +
                ", className='" + className + '\'' +
                ", grade='" + grade + '\'' +
                '}';
    }
}
